<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数据后台管理系统</title>
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./assets/css/login.css">
</head>

<body>
    <img id="logo" src="./assets/images/logo.png" alt="">
    <!-- 登陆 start -->
    <div class="login box">
        <div class="title">后台数据管理系统</div>
        <form class="layui-form" action="">
            <!-- 用户名 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名"
                    autocomplete="off" class="layui-input">
            </div>
            <!-- 用户密码 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" required lay-verify="required" placeholder="请输入密码"
                    autocomplete="off" class="layui-input">
            </div>
            <!-- 登陆 -->
            <div class="layui-form-item">
                <!-- layui-btn-fluid 用于定义流体按钮。即宽度最大化适应-->
                <button class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit lay-filter="formDemo">登陆</button>
            </div>
            <!-- 跳转链接 -->
            <div class="layui-form-item">
                <a href="javascript:;" class="lk">点击注册</a>
            </div>
        </form>
    </div>
    <!-- 登陆 end -->

    <!-- 注册 start -->
    <div class="register box">
        <div class="title">后台数据管理系统</div>
        <form class="layui-form" action="">
            <!-- 用户名 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <!-- 表单验证元素上加上 lay-verify="" 属性值 required是预设元素属性  验证弹出必填属性-->
                <input type="text" name="username" required lay-verify="required|user" placeholder="请输入用户名"
                    autocomplete="off" class="layui-input">
            </div>
            <!-- 用户密码 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" required lay-verify="required|len" placeholder="请输入密码"
                    autocomplete="off" class="layui-input pwd">
            </div>
            <!-- 确定密码 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" required lay-verify="required|same" placeholder="请确认输入密码" autocomplete="off"
                    class="layui-input">
            </div>
            <!-- 注册 -->
            <div class="layui-form-item">
                <!-- layui-btn-fluid 用于定义流体按钮。即宽度最大化适应-->
                <button class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit lay-filter="formDemo">注册</button>
            </div>
            <!-- 跳转链接 -->
            <div class="layui-form-item">
                <a href="javascript:;" class="lk">点击登陆</a>
            </div>
        </form>
    </div>
    <!-- 注册 end  -->

    <script src="./assets/lib/jquery.js"></script>
    <script src="./assets/lib/layui/layui.all.js"></script>
    <script src="./assets/js/common.js"></script>
    <script src="./assets/js/login.js"></script>
</body>

</html>